//
//  WATeamCell.m
//  WalkiOS
//
//  Created by luqiuan on 2019/11/3.
//  Copyright © 2019 Chenmuzhou. All rights reserved.
//

#import "WATeamCell.h"

@implementation WATeamCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)configWithModel:(WNTeamModel *)model type:(NSInteger)type{
    _model = model;
    NSInteger ID;
    if (type == 0) {
        ID = model.fuserid;
    }else if (type == 1){
        ID = model.suserid;
    }else{
        ID = model.tuserid;
    }
    self.nameLB.text = [NSString stringWithFormat:@"好友ID：%zd",ID];
}
@end
